<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Flex item 项目属性 - order</title>
    <link rel="stylesheet" href="style/00.css">
    <style>
        .item {
            /*
                order 属性定义项目的排列顺序。数值越小，排列越靠前，默认为0。
             */
             order: 0;
        }
        .item:first-child {
            order: 0;
        }
        .item:nth-child(2) {
            order: 0;
        }
        .item:last-child {
            order: 0;
        }
    </style>
</head>
<body>

    <div class="flex-container">
        <div class="item">item1</div>
        <div class="item">item2</div>
        <div class="item">item3</div>
    </div>
    
</body>
</html>